#include<bits/stdc++.h>

using namespace std;

//第12周高精度加法 密码破解
int main() {
    char s[100] = "L KDWH BRX";
//cin>>s;//scanf("%s",s);
//gets(s);
    for (int k = 1; k <= 25; k++) {
        for (int i = 0; i < strlen(s); i++) {
            if (s[i] >= 'A' && s[i] <= 'Z') {
                cout << (char) ((s[i] - 'A' + k) % 26 + 'A');
            } else {
                cout << s[i];
            }

        }
        cout << " k=" << k << endl;
    }
    return 0;
}
